import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        /*
        int arr[]=new int[]{4,2,6,1,8,0,5};
        Sort.insertSort(arr);
        System.out.println("插入排序如下"+Arrays.toString(arr));
        int [] arr1=new int[]{3,4,5,1,0,7,2,9};
        Sort.shellSort(arr1);
        System.out.println("希尔排序如下"+Arrays.toString(arr1));
        int [] arr2=new int[]{9,4,3,2,1,7,8};
        Sort.selectSort2(arr2);
        System.out.println("选择排序如下"+Arrays.toString(arr2));
        int [] arr3=new int[]{3,46,1,99,0,2,4};
        Sort.heapSort1(arr3);
        System.out.println("堆排序如下"+Arrays.toString(arr3));

         */
        int [] arr4=new int[]{1,9,0,2,4,77,5,9};
        Sort.heapSort1(arr4);
        System.out.println("冒泡排序如下"+Arrays.toString(arr4));
        int [] arr5=new int[]{1,4,6,2,8,7};
        Sort.quickSort(arr5);
        System.out.println("快速排序如下"+Arrays.toString(arr5));

    }
}
